/* jshint indent: 2 */

module.exports = function(sequelize, DataTypes) {
  return sequelize.define('iframe_platform', {
    IP_ID: {
      type: DataTypes.INTEGER(11),
      allowNull: false,
      primaryKey: true,
      autoIncrement: true
    },
    IP_Sign: {
      type: DataTypes.STRING(50),
      allowNull: true,
      unique: true
    },
    IP_Name: {
      type: DataTypes.STRING(50),
      allowNull: true
    },
    IP_IsDel: {
      type: DataTypes.INTEGER(6),
      allowNull: true
    },
    IP_CreateTime: {
      type: DataTypes.DATE,
      allowNull: true
    },
    IP_Info: {
      type: DataTypes.STRING(80),
      allowNull: true
    }
  }, {
    tableName: 'iframe_platform'
  });
};
